/*
 * @Copyright: 2025 Copyright (C) AMCAX, All rights reserved.
 * @Author: Zhang
 * @Date: 2025/7/24 19:39
 * @LastEditTime: 2025/7/24 19:39
 * @LastEditors: Zhang
 * @Description:
 */
import { NMMeshBaseCommand } from '../type';
import './index.scss';
import { i18n } from '@/common/utils';
import { SketcherPointsDialog } from './CoordinateTable/CoordinateInput';

export const cmdSurfaceLocation: NMMeshBaseCommand = {
  id: 'cmdSurfaceLocation',
  icon: 'commands/surfaceFeatures/place-points',
  label: '曲面布点',
  create: (label: string, onClose: () => void, props) => (
    <SketcherPointsDialog
      title={i18n.t(label)}
      onClose={onClose}
      props={props}
      placement='topLeft'
    />
  ),
};
